package com.paw.portal.response.dto;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Rubble
 * @date 2021/8/23
 * TS
 *     children?: MenuDataItem[];
 *     hideChildrenInMenu?: boolean;
 *     hideInMenu?: boolean;
 *     icon?: any;
 *     locale?: string | false;
 *     name?: string;
 *     key?: string;
 *     pro_layout_parentKeys?: string[];
 *     path?: string;
 *     parentKeys?: string[];
 *     [key: string]: any;
 **/
@Data
@ApiModel("antd菜单项")
public class MenuDataItem {

  @ApiModelProperty("key")
  private String key;

  @ApiModelProperty("名称")
  private String name;

  @ApiModelProperty("路径")
  private String path;

  @ApiModelProperty("图标")
  private String icon;

  @ApiModelProperty("隐藏菜单")
  private Boolean hideInMenu;

  @ApiModelProperty("隐藏子菜单")
  private Boolean hideChildrenInMenu;

  @ApiModelProperty("子菜单项")
  private List<MenuDataItem> children;


}
